﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;

namespace BTM_Client_DBwork
{
    class MapMarkerPositionsMap : ClassMap<MapMarkerPositions>
    {
        public MapMarkerPositionsMap()
        {
            Id(x => x.Id);
            Map(x => x.Name).Unique().Length(30);
            Map(x => x.PositionLat);
            Map(x => x.PositionLng);
        }
    }
}
